package cn.tedu.spring.eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=
                new AnnotationConfigApplicationContext
                        ("cn.tedu.spring.eg3");
        ShopController shopController=
                context.getBean(ShopController.class);
        System.out.println("4.开始装修");
        context.close();
    }
}
